package com.house.keeper.service;

import com.house.keeper.entity.bean.CommunityInfoBean;
import org.springframework.stereotype.Service;
import com.house.keeper.base.Result;
import com.house.keeper.entity.vo.CommunityInfoVo;

/**
 * @author zjj
 * @date 2022-05-23 14:27:04
 *
 * @description 
 */
@Service
public interface CommunityInfoService{
    /**
         * 用户查询
         * @param communityInfoVo 查询条件
         * @return
         */
    Result selectByPage(CommunityInfoVo communityInfoVo);

    /**
     * 删除
     * @param id 主键
     * @return
     */
    Result delete(Integer id);

    /**
     * 添加或修改
     * @param communityInfoBean
     * @return
     */
    Result update(CommunityInfoBean communityInfoBean);
}

